Package com.cisco.pt.ipc.sim.impl
Class TunnelGroupImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.TunnelGroupImpl
- All Implemented Interfaces:
IPCObject,TunnelGroup
Information provided by the PKI file:
\class TunnelGroup
\brief TunnelGroup handles and manipulates IKE Tunnel Groups.
\example network().getDevice("Router0").getProcess("IpsecProcess").getTunnelGroupAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionTunnelGroupImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:getName()Information provided by the PKI file:Information provided by the PKI file:getType()Information provided by the PKI file:Information provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetType(TunnelType type) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
TunnelGroupImpl
public TunnelGroupImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getName
Information provided by the PKI file:
\brief Returns the Name for the tunnelgroup. \return string.- Specified by:
getNamein interfaceTunnelGroup- Returns:
- String Returns a String
-
setName
Information provided by the PKI file:
\brief Sets the name for the tunnelgroup. \param string.- Specified by:
setNamein interfaceTunnelGroup- Parameters:
name- Takes in a parameter of name
-
getTunnelIpsecAtt
Information provided by the PKI file:
\brief Returns TunnelIpsecAttribute . \return TunnelIpsecAttribute, the CTunnelIpsecAttribute object.- Specified by:
getTunnelIpsecAttin interfaceTunnelGroup- Returns:
- TunnelIpsecAttribute Returns a TunnelIpsecAttribute
-
getType
Information provided by the PKI file:
\brief Return the tunnel type in enum eRemoteAccess = 0, eL2L = 1, eTunnelTypeNone = 2, eWebVpn = 3- Specified by:
getTypein interfaceTunnelGroup- Returns:
- TunnelType Returns a TunnelType
-
getTypeString
Information provided by the PKI file:
\brief Return the tunnel type in string format- Specified by:
getTypeStringin interfaceTunnelGroup- Returns:
- String Returns a String
-
setType
Information provided by the PKI file:
\brief Set the tunnel type in enum \param type eRemoteAccess = 0, eL2L = 1, eTunnelTypeNone = 2, eWebVpn = 3- Specified by:
setTypein interfaceTunnelGroup- Parameters:
type- Takes in a parameter of type
-
getGeneralAttributes
Information provided by the PKI file:
\brief Returns TunnelGeneralAttributes . \return TunnelGeneralAttributes, the CTunnelGeneralAttributes object.- Specified by:
getGeneralAttributesin interfaceTunnelGroup- Returns:
- TunnelGeneralAttributes Returns a TunnelGeneralAttributes
-
createGeneralAttributes
Information provided by the PKI file:
\brief Create TunnelGeneralAttributes . \return TunnelGeneralAttributes, the newly created TunnelGeneralAttributes object.- Specified by:
createGeneralAttributesin interfaceTunnelGroup- Returns:
- TunnelGeneralAttributes Returns a TunnelGeneralAttributes
-
removeGeneralAttributes
public void removeGeneralAttributes()Information provided by the PKI file:
\brief Remove TunnelGeneralAttributes . \return none- Specified by:
removeGeneralAttributesin interfaceTunnelGroup
-